<?php

class Tes_template extends CI_Controller {
    
    public function __construct() {
        parent::__construct();
        $this->load->model('Template');
    }
    
    # Url : http://localhost/SIMPersuratan/index.php/tes_unit/Tes_template/surat
    public function surat() {
        $this->Template->membuat_surat("12345");
    }
}

?>
